import abc from './abc';
import listApi from '@api/list';
import eee from './e/eee';

export default {
    state: {},
    init: function () {
        this.state.list = listApi({a: 1}); // axios, request
    },
    render: function () {
        console.log(this.state.list);
    }
}






/**

import React from 'react';
import listApi from '@api/list';
import initApi from '@api/init';
import util from '../util';

export default {
    state: {},
    init: function () {
        this.state.list = listApi({a: 1});
        this.state.init = initApi({a: 2});
        this.state.util = util;
        this.state.abc = abc;
    },
    render: function () {
        console.log(this.state.list);
    }
}
function abc(a, b) {
    console.log('abc');
}

 */